package com.ruoyi.mateproduction.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MtCourseProduct {
    private Long mtCourseId;//主表的主键id
    private Long courseProductId;
    private Long deptId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;
    private Long mateproductId;//原材料id
    private String mateProductName;//原材料名称
    private String mateProductType;//原材料型号
    private String enterNum;  //原材料批号
    private Long needNum;//需要的数量
    private Long backNum;//退回的数量
    private Long remainingNum;//剩余数量
    private Long productId;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getRemainingNum() {
        return remainingNum;
    }

    public void setRemainingNum(Long remainingNum) {
        this.remainingNum = remainingNum;
    }

    public Long getBackNum() {
        return backNum;
    }

    public void setBackNum(Long backNum) {
        this.backNum = backNum;
    }

    public String getMateProductType() {
        return mateProductType;
    }

    public void setMateProductType(String mateProductType) {
        this.mateProductType = mateProductType;
    }

    public Long getNeedNum() {
        return needNum;
    }

    public void setNeedNum(Long needNum) {
        this.needNum = needNum;
    }

    public Long getMtCourseId() {
        return mtCourseId;
    }

    public void setMtCourseId(Long mtCourseId) {
        this.mtCourseId = mtCourseId;
    }

    public Long getCourseProductId() {
        return courseProductId;
    }

    public void setCourseProductId(Long courseProductId) {
        this.courseProductId = courseProductId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getMateproductId() {
        return mateproductId;
    }

    public void setMateproductId(Long mateproductId) {
        this.mateproductId = mateproductId;
    }

    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public String getEnterNum() {
        return enterNum;
    }

    public void setEnterNum(String enterNum) {
        this.enterNum = enterNum;
    }
}
